const app = getApp()
Component({
 properties: {
  // defaultData（父页面传递的数据-就是引用组件的页面）
  defaultData: {
   type: Object,
   value: {
    title: ""
   },
   observer: function(newVal, oldVal) {}
  }
 },
 data: {

 },
 attached: function() {},
 methods: {}
})